package com.liugui.basicsgrammar2;

import java.util.Arrays;

/**
 * @ClassName: ArrayTest
 * @Author: liugui
 * @Date: 2020-10-24 08:54
 **/
public class ArrayTest {
    public static void main(String[] args) {
        //二维数组
        String[][] name = {{"ZhaoYi", "QianEr", "SunSan"},
                {"LiSi", "ZhouWu", "WuLiu"}};
        for (int i = 0; i < 2; i++) {
            System.out.println(Arrays.toString(name[i]));
            for (int j = 0; j < 3; j++) {
                System.out.println(name[i][j]);
            }
        }
    }
}
